package com.ly.demo.reference;

import java.util.ArrayList;
import java.util.List;

/**
 * @author liuyang
 * @des
 * @Version 1.0
 * @Date: 06/07/2021 15:33
 */
public class StrongReference {
    public static void main(String[] args) {
        String str = "abc";
        List<String> list = new ArrayList<String>();
        list.add(str);
    }
}
